// import { createRouter, defineEventHandler, useBase } from 'h3'

// const router = createRouter()

// router.get('/getUserInfo', defineEventHandler(() => {
//   return 'Hello'
// }))

// export default useBase('/api/user', router.handler)

export default defineEventHandler(() => {
  return {
    api: 'hello'
  }
})
